package lhdx11;

public class Smart extends MobilePhone implements Audio,Video,Network,Photo{
    public Smart(String brand,int price){
        super(brand,price);
    }
    @Override
    public void playAudio() {
        System.out.println(getBrand()+"手机开始播放音乐《下山》。。。。。");
    }

    @Override
    public void connect() {
        System.out.println(getBrand()+"手机连接网络。。。。。");
    }

    @Override
    public void photograph() {
        System.out.println(getBrand()+"手机开始拍照！！！");
        System.out.println("咔嚓。。。拍照成功！");
    }

    @Override
    public void playVideo() {
        System.out.println(getBrand()+"手机开始播放视频《葫芦娃》。。。。");
    }
}
